<tagLib name="cx,html" />
<html:link type="JS" href="../Public/Js/common.js" />
<div id="box">
<h3>日志列表</h3>
<form method="post" action="{:url('post','Blog')}">
<h4>过滤</h4>
<html:select name="category" id="category" change="window.location='{:url('index','Blog','',APP_NAME,array('filter'=>'category','v'=>''))}'+this.options[this.selectedIndex].value" first="请选择分类" options="categoryList" selected="selectSlug" />&nbsp;
<html:select name="archive" id="archive" change="window.location='{:url('index','Blog','',APP_NAME,array('filter'=>'archive','v'=>''))}'+this.options[this.selectedIndex].value" first="请选择归档" options="archiveList" selected="selectArchive" />&nbsp;
<html:select name="type" id="type" change="window.location='{:url('index','Blog','',APP_NAME,array('type'=>''))}'+this.options[this.selectedIndex].value" options="typeList" selected="selectType" /><br />
直达
<select name="field">
	<option value="ID">ID等于</option>
	<option value="post_title">标题为</option>
	<option value="post_name">短标题为</option>
</select>&nbsp;<input type="text" name="fieldValue" size="15">&nbsp;的日志&nbsp;<input type="submit" value="GO" class="btn">
</form>
<form method="post" action="{:url('del','Blog')}">
<h4>列表</h4>
<table id="postlist" class="list" cellpadding="0" cellspacing="0" >
<thead>
<tr>
	<th width="8"><input type="checkbox" class="checkbox" id="check" onclick="CheckAll('postlist')"></th>
	<th>标题</th>	<th>分类</th>	<th>时间</th>	<th>评论数</th>
</tr>
</thead>
<tbody>
<volist name="postList" id="post">
<tr>
	<td><input type="checkbox" class="checkbox" name="ID[]" value="{$post.ID|Input::forTag}"></td>
	<td><a href="{:url('post','Blog','',APP_NAME,array('ID'=>$post['ID']))}" title="编辑日志 {$post.post_title|Input::forTag}">{$post.post_title|Input::forShow}</a></td>
	<td><a href="{:url('index','Blog','',APP_NAME,array('filter'=>'category','v'=>$post['slug']))}" title="只看分类 {$post.name|Input::forTag}">{$post.name|Input::forShow}</a></td>
	<td>{$post.post_date|Input::forShow}</td>
	<td>{$post.comment_count|Input::forShow}</td>
</tr>
</volist>
</tbody>
</table>
<div>
	<div id="pager">
		{$navigation}
	</div>
	<div style="float:right; margin: 5px; 10px; 5px; 5px;"><input type="submit" value="删除所选" class="btn" onclick="return confirm('真的要删除这些日志吗？');"></div>
</div>
</form>
<div class="clearfix"></div>
</div>